<script setup lang="ts">
import { PropType, watch } from "vue";
const
  props = defineProps({
    modelValue: { type: Object as PropType<obj>, required: false, default: { vaule: "新建模板" }, },
  });
function init() {

}
watch(() => props, init, { deep: true, immediate: true });
</script>
<template>
  <div class="home">{{ modelValue }}</div>
</template>
<style lang="scss" scoped>
.home {
  position: relative;
}
</style>